#include using namespace std; //complete this function to return true if the query string is found //in the source string. It does not have to be case insensitive. int contains(char source[], char query[]) { int result = 0; for(int i = 0; i 0) { cout << "it was in there " << contains(s1,s2) << endl; } //if(strnicmp(s1,s2,3) == 0) //{ // cout << "Same" << endl; //} //if(strncmp(s1,s2 + strlen(s2) -strlen(s1),strlen(s1))== 0) //{ // cout << "Same" << endl; //} //strncpy(s1 + 2,s2 + 3 ,3); //s1[3] = '\0'; //cout << s1 << endl; }